<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC 
	"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
	"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
	<class name="${entity.className}" <#if entity.tableName?exists>table="${entity.tableName}"</#if>>
		<id name="id" column="id" length="32" type="string">
			<generator class="uuid" />
		</id>
		<property name="name" not-null="true" length="200" type="string" />
		<!-- AUTO -->
<#if entity.properties?exists>
	<#list entity.properties as property>
		<property name="${property.name}" type="${property.type}" column="${property.column?lower_case}" <#if property.length?exists>length="${property.length}"</#if> />
	</#list>
</#if>
	</class>
</hibernate-mapping>